/* 提交 */
function upckb()
{
	var url = window.location.href;
	if(url.indexOf('jzl_')>0){
		var strurl = url.substr(0, url.indexOf('#jzl_'));
	}
	else{
		var strurl = url;
	}
	var urls = "http://crmv2.86sb.com/system-app/addx?froms=1&urlx="+strurl;
	if( $("#sbname").val() == "" )
	{
		alert("请输入商标名称!");
		$("#sbname").focus();
		return false;
	}	
	if(!pattern.test($.trim($("#utel").val()))){
        Common.show_dialog('手机号格式不正确！');
		$("#utel").focus();
		return false;
	}

	urls = urls+"&sbname="+$("#sbname").val()+"&utel="+$("#utel").val()+"&uname=手机注册精英版";
	$.get(urls, function(msg){});
	$('.boxTitle').css('display', 'block');
	$("#unamex").val('');
	$("#utelx").val('');
	return false;
}

/* 提交 */
function jyupckb()
{
	var url = window.location.href;
	if(url.indexOf('jzl_') >0 ){
		var strurl = url.substr(0, url.indexOf('#jzl_'));
	}
	else{
		var strurl = url;
	}
	var urls = "http://crmv2.86sb.com/system-app/addx?froms=1&urlx="+strurl;
	if( $("#sbname").val() == "" )
	{
		alert("请输入商标名称!");
		$("#sbname").focus();
		return false;
	}	

	if(!pattern.test($.trim($("#utel").val()))){
        Common.show_dialog('手机号格式不正确！');
		$("#utel").focus();
		return false;
	}

	urls = urls+"&sbname="+$("#sbname").val()+"&utel="+$("#utel").val()+"&uname=手机注册简易版";
	$.get(urls, function(msg){});
	$('.boxTitle').css('display', 'block');
	$("#unamex").val('');
	$("#utelx").val('');
	return false;
}
function hidesure()
{
	$('.boxTitle').css('display', 'none');
	$('.hide').css('display', 'none');
}
